<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

/*
|--------------------------------------------------------------------------
| view layout elements
|
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
|   URLs
|--------------------------------------------------------------------------
*/
$config['image_uploader_question_vote_original'] = '/assets/image_uploader/question_vote_original/';
$config['image_uploader_question_vote_thumbs'] = '/assets/image_uploader/question_vote_thumbs/';

$config['image_uploader_comment_original'] = '/assets/image_uploader/comment_original/';
$config['image_uploader_comment_thumbs'] = '/assets/image_uploader/comment_thumbs/';

$config['image_uploader_fe_original'] = '/assets/image_uploader/fe_original/';
$config['image_uploader_fe_thumbs'] = '/assets/image_uploader/fe_thumbs/';
$config['image_uploader_original'] = '/assets/image_uploader/original/';
$config['image_uploader_thumbs'] = '/assets/image_uploader/thumbs/';
$config['image_uploader_temp'] = '/assets/image_uploader/temp/';
$config['empty_thumb_url'] = '/assets/img/empty-image.png';
$config['not_set_smimg_src'] = '/assets/img/mytag/smimg.png';
$config['default_image_limit'] = 5;
$config['backyard_image_upload_limit'] = 10;
$config['more_photo_offset'] = 15;

$config['allow_upload_image_type'] = array(IMAGETYPE_PNG, IMAGETYPE_JPEG, IMAGETYPE_GIF);

$config['category'] = array(
	1=>'廚房',
	2=>'衛浴',
	3=>'臥室/套房',
	4=>'客廳',
	5=>'餐廳',
	6=>'辦公區/閱讀區',
	7=>'兒童',
	8=>'照明',
	9=>'儲藏室/更衣室(衣櫃)',
	10=>'創意',
	11=>'陽台/玄關'
);


$config['category_alias'] = array(
	'廚房'=>'廚房',
	'衛浴'=>'衛浴',
	'臥室套房'=>'臥室/套房',
	'客廳'=>'客廳',
	'餐廳'=>'餐廳',
	'辦公區閱讀區'=>'辦公區/閱讀區',
	'兒童'=>'兒童',
	'照明'=>'照明',
	'儲藏室更衣室衣櫃'=>'儲藏室/更衣室(衣櫃)',
	'創意'=>'創意',
	'陽台玄關'=>'陽台/玄關'
);

$config['topic_category'] = array(
	'主題推荐'=>'主題推荐',
	'人物訪談'=>'人物訪談',
	'案例分享'=>'案例分享'
);

$config['topic_category_mapping'] = array(
	'主題推荐'=>'recommend',
	'人物訪談'=>'people',
	'案例分享'=>'case'
);

$config['image_types'] = array(
'IMAGETYPE_GIF' => 1,
'IMAGETYPE_JPEG' => 2,
'IMAGETYPE_PNG' => 3,
'IMAGETYPE_SWF' => 4,
'IMAGETYPE_PSD' => 5,
'IMAGETYPE_BMP' => 6,
'IMAGETYPE_TIFF_II' => 7,
'IMAGETYPE_TIFF_MM' => 8,
'IMAGETYPE_JPC' => 9,
'IMAGETYPE_JP2' => 10,
'IMAGETYPE_JPX' => 11,
'IMAGETYPE_JB2' => 12,
'IMAGETYPE_SWC' => 13,
'IMAGETYPE_IFF' => 14,
'IMAGETYPE_WBMP' => 15,
'IMAGETYPE_JPEG2000' => 9,
'IMAGETYPE_XBM' => 16,
'IMAGETYPE_ICO' => 17,
'IMAGETYPE_UNKNOWN' => 0,
'IMAGETYPE_COUNT' => 18
);
